package com.ssy.lingxi.order.model.vo.common.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 查询会员支付渠道接口参数
 * @author 万宁
 * @version 2.0.0
 * @date 2021-11-18
 */
public class OrderMemberPayTypeVO implements Serializable {
    private static final long serialVersionUID = 6731380316705947574L;

    /**
     * 会员Id
     */
    @NotNull(message = "会员Id要大于0")
    @Positive(message = "会员Id要大于0")
    private Long memberId;

    /**
     * 会员角色Id
     */
    @NotNull(message = "会员角色Id要大于0")
    @Positive(message = "会员角色Id要大于0")
    private Long roleId;

    /**
     * 支付方式，1-线上支付，2-线下支付
     */
    @NotNull(message = "支付方式不能为空")
    private Integer payType;

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }
}
